<?php

namespace catchAdmin\phone\controller;

use catcher\CatchResponse;

class SysVocation extends LoginCatchController
{

    private $model = null;


    public function __construct()
    {
        parent::__construct();

        $this->model = (new \catchAdmin\phone\model\SysVocation());
    }


    public function indexTree()
    {
        return CatchResponse::success($this->model->indexTree(request()->param()));
    }

}
